hysop.backend.device.opencl package

Everything concerning OpenCL in hysop. Some sources are parsed at build to handle several OpenCL features. Other sources are generated and optimized at runtime. see hysop.backend.device.opencl.opencl_tools.parse_file see hysop.backend.device.codegen

hysop.backend.device.opencl.OPENCL_KERNEL_DUMP_FOLDER = 'generated_kernels/opencl'

Default opencl kernel dump folder.

hysop.backend.device.opencl.__OPENCL_PROFILE__ = False

Boolean, true to enable OpenCL profiling events to time computations

hysop.backend.device.opencl.cl = <module 'pyopencl' from '/opt/conda/lib/python3.12/site-packages/pyopencl/__init__.py'>

PyOpencl module, underlying OpenCL implementation

hysop.backend.device.opencl.clArray = <module 'pyopencl.array' from '/opt/conda/lib/python3.12/site-packages/pyopencl/array.py'>

PyOpenCL arrays

hysop.backend.device.opencl.clCharacterize = <module 'pyopencl.characterize' from '/opt/conda/lib/python3.12/site-packages/pyopencl/characterize/__init__.py'>

PyOpenCL characterize

hysop.backend.device.opencl.clElementwise = <module 'pyopencl.elementwise' from '/opt/conda/lib/python3.12/site-packages/pyopencl/elementwise.py'>

PyOpenCL reductions

hysop.backend.device.opencl.clRandom = <module 'pyopencl.clrandom' from '/opt/conda/lib/python3.12/site-packages/pyopencl/clrandom.py'>

PyOpenCL random

hysop.backend.device.opencl.clReduction = <module 'pyopencl.reduction' from '/opt/conda/lib/python3.12/site-packages/pyopencl/reduction.py'>

PyOpenCL reductions

hysop.backend.device.opencl.clScan = <module 'pyopencl.scan' from '/opt/conda/lib/python3.12/site-packages/pyopencl/scan.py'>

PyOpenCL scan

hysop.backend.device.opencl.clTools = <module 'pyopencl.tools' from '/opt/conda/lib/python3.12/site-packages/pyopencl/tools.py'>

PyOpencl tools

hysop.backend.device.opencl.clTypes = <module 'pyopencl.cltypes' from '/opt/conda/lib/python3.12/site-packages/pyopencl/cltypes.py'>

PyOpencl types

Subpackages

Submodules